from api.base_api import BaseUserApi, BaseTellerApi


class TellerLoginApi(BaseTellerApi):

    # 接口的基本信息，统一封装在init函数中
    def __init__(self, username, password):
        super().__init__()
        self.url = f'{self.host}/kejiyinhangyewuguanli/yewurenyuan/login'
        self.method = 'post'
        self.data = {
            "username": username,
            "password": password,
        }
